#ifndef __MAG_QUEUE_H
#define __MAG_QUEUE_H
#include <stdio.h>
#include <fcntl.h>    /* For O_* constants */
#include <sys/stat.h> /* For mode constants */
#include <mqueue.h>
#include <pthread.h>

#define MQ_NAME "/my_mq"

mqd_t msg_queue_create(void);
void msg_queue_final(mqd_t mqd);
int msg_queue_send(mqd_t mqd, void *arg, int msg_len);

#endif